<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wx_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wx_name" class="form-control" name="row[wx_name]" type="text" value="{$row.wx_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Appid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-appid" class="form-control" name="row[appid]" type="text" value="{$row.appid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Appsecret')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-appsecret" class="form-control" name="row[appsecret]" type="text" value="{$row.appsecret|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Encodingaeskey')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-encodingaeskey" class="form-control" name="row[encodingaeskey]" type="text" value="{$row.encodingaeskey|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Token')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-token" class="form-control" name="row[token]" type="text" value="{$row.token|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Qr_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-qr_url" class="form-control" name="row[qr_url]" type="text" value="{$row.qr_url|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_name" class="form-control" name="row[user_name]" type="text" value="{$row.user_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Service_type_info')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-service_type_info" class="form-control" name="row[service_type_info]" type="number" value="{$row.service_type_info|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Verify_type_info')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-verify_type_info" class="form-control" name="row[verify_type_info]" type="number" value="{$row.verify_type_info|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-type" class="form-control" name="row[type]" type="text" value="{$row.type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ctime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ctime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[ctime]" type="text" value="{:$row.ctime?datetime($row.ctime):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Exp_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-exp_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[exp_time]" type="text" value="{:$row.exp_time?datetime($row.exp_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Share_title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-share_title" class="form-control " rows="5" name="row[share_title]" cols="50">{$row.share_title|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Share_imgurl')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-share_imgurl" class="form-control" name="row[share_imgurl]" type="text" value="{$row.share_imgurl|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Share_desc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-share_desc" class="form-control " rows="5" name="row[share_desc]" cols="50">{$row.share_desc|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Isgetuserinfo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-isgetuserinfo" class="form-control" name="row[isgetuserinfo]" type="number" value="{$row.isgetuserinfo|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Vender1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-vender1" data-rule="required" class="form-control" name="row[vender1]" type="number" value="{$row.vender1|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Vender2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-vender2" class="form-control" name="row[vender2]" type="number" value="{$row.vender2|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Vender3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-vender3" class="form-control" name="row[vender3]" type="number" value="{$row.vender3|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Authorizer_access_token')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-authorizer_access_token" class="form-control" name="row[authorizer_access_token]" type="text" value="{$row.authorizer_access_token|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Expires_in')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-expires_in" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[expires_in]" type="text" value="{:$row.expires_in?datetime($row.expires_in):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Authorizer_refresh_token')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-authorizer_refresh_token" class="form-control" name="row[authorizer_refresh_token]" type="text" value="{$row.authorizer_refresh_token|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Principal_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-principal_name" class="form-control" name="row[principal_name]" type="text" value="{$row.principal_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Business_info')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-business_info" class="form-control " rows="5" name="row[business_info]" cols="50">{$row.business_info|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Func_info')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-func_info" class="form-control " rows="5" name="row[func_info]" cols="50">{$row.func_info|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Authorizer_func_info')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-authorizer_func_info" class="form-control " rows="5" name="row[authorizer_func_info]" cols="50">{$row.authorizer_func_info|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Head_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-head_img" class="form-control" name="row[head_img]" type="text" value="{$row.head_img|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Auth_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-auth_status" class="form-control" name="row[auth_status]" type="number" value="{$row.auth_status|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-status" class="form-control" name="row[status]" type="number" value="{$row.status|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mp_verified')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mp_verified" class="form-control" name="row[mp_verified]" type="text" value="{$row.mp_verified|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Auth_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-auth_url" class="form-control" name="row[auth_url]" type="text" value="{$row.auth_url|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Push_flag')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-push_flag" data-rule="required" class="form-control" name="row[push_flag]" type="number" value="{$row.push_flag|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Push_data_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-push_data_url" class="form-control" name="row[push_data_url]" type="text" value="{$row.push_data_url|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Template_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-template_id" data-rule="required" data-source="template/index" class="form-control selectpage" name="row[template_id]" type="text" value="{$row.template_id|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
